package jlu.zqq.po;

/**
 * RolePermissions entity. @author MyEclipse Persistence Tools
 */

public class RolePermissions implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 4793298788128062573L;
	private Integer id;
	private String role;
	private String tablename;
	private Integer addE;
	private Integer deleteE;
	private Integer updateE;
	private Integer selectE;

	// Constructors

	/** default constructor */
	public RolePermissions() {
	}

	/** minimal constructor */
	public RolePermissions(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public RolePermissions(Integer id, String role, String tablename,
			Integer addE, Integer deleteE, Integer updateE, Integer selectE) {
		this.id = id;
		this.role = role;
		this.tablename = tablename;
		this.addE = addE;
		this.deleteE = deleteE;
		this.updateE = updateE;
		this.selectE = selectE;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getRole() {
		return this.role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getTablename() {
		return this.tablename;
	}

	public void setTablename(String tablename) {
		this.tablename = tablename;
	}

	public Integer getAddE() {
		return this.addE;
	}

	public void setAddE(Integer addE) {
		this.addE = addE;
	}

	public Integer getDeleteE() {
		return this.deleteE;
	}

	public void setDeleteE(Integer deleteE) {
		this.deleteE = deleteE;
	}

	public Integer getUpdateE() {
		return this.updateE;
	}

	public void setUpdateE(Integer updateE) {
		this.updateE = updateE;
	}

	public Integer getSelectE() {
		return this.selectE;
	}

	public void setSelectE(Integer selectE) {
		this.selectE = selectE;
	}

	@Override
	public String toString() {
		return "RolePermissions [id=" + id + ", role=" + role + ", tablename="
				+ tablename + ", addE=" + addE + ", deleteE=" + deleteE
				+ ", updateE=" + updateE + ", selectE=" + selectE + "]";
	}
	
}